﻿
<!DOCTYPE html>
<html>
<head>
    <title>Гудворкс - @ViewBag.Title</title>
    <link href="@Url.Content("~/Content/css/reset.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/css/default.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/css/layout.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/css/style.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/css/datepicker.css")" rel="stylesheet" type="text/css" />
	
	<!--[if lte IE 7]>
		<link href="@Url.Content("~/Content/css/styleIE67.css")" rel="stylesheet" type="text/css" />
	<![endif]-->
	@RenderSection("CSS", required: false)
	@if (!(ViewBag.EditMode ?? false))
 {
	 <link href="@Url.Content("~/Content/css/no_edit.css")" rel="stylesheet" type="text/css" />
 }

	@*<script type="text/javascript" src="@Url.Content("~/Content/js/jquery-1.5.1.min.js")"></script>*@
	@*<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>*@

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
    <script src="//ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script>

	<script type="text/javascript" src="@Url.Content("~/Content/js/placeholder.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/Content/js/custom.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/Content/js/datepicker.js")"></script>

	<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
 
	<script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.js")" type="text/javascript"></script>
    <script type="text/javascript" src="http://vkontakte.ru/js/api/share.js?9" charset="windows-1251"></script>
	@RenderSection("HEAD", false)

	<script type="text/javascript">

		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-24717961-1']);
		_gaq.push(['_setDomainName', '.goodworx.ru']);
		_gaq.push(['_trackPageview']);

		(function () {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		})();

	</script>
</head>

<body>
	<div id="workplace">
		<div id="header"><div id="header_inner">@Html.Action("Header", "Layout")</div></div>
		<div id="main">
			<div id="main_inner">
				@RenderBody()		
			</div>
			<div id="footer"></div>
		</div>
</div>

</body>
</html>
